<!-- INCLUDE sv_overall_header.html -->


<script src="{T_TEMPLATE_PATH}/RGraph/RGraph.common.core.js" ></script>
<script src="{T_TEMPLATE_PATH}/RGraph/RGraph.line.js" ></script>

<script>
	function DrawLine(id, data, min, max)
	{
		if (min == max)
			++ max;
			
		data.reverse();
		
        var line = new RGraph.Line(id, data);
        line.Set('numxticks', 0);
        line.Set('numyticks', 0);
        line.Set('background.grid', false);
        line.Set('colors', ['blue']);
        line.Set('linewidth', 1);
        line.Set('hmargin', 0);
        line.Set('ylabels', false);
        line.Set('ymax', max);
        line.Set('ymin', min);
        line.Set('chart.axis.linewidth', 0);        
        line.set('tickmarks',null);
        
        line.Draw();
	}
</script>

<div class="panel" > 
<div class="inner"><span class="corners-top"><span></span></span> 
<h2>{L_SV_STOCK_SELECTION} &nbsp  </h2> 
</div>
<p>
{L_SV_MOVING_AVERAGE_DESC}
</p>
<BR>
</div>
<BR>
<div class="panel" style="float:left;margin-right:1em;"> 
	<div class="inner"><span class="corners-top"><span></span></span> 
	<h2>{L_SV_STOCK_GO_UP_RECENTLY}&nbsp(MA5 > MA20) &nbsp <img title=" {MA5_GT_MA20_NUM} {L_SV_NUM_OF_CORP} " src="{T_IMAGES_PATH}icons/smile/info.gif" alt="info" /> </h2> 
	<p></p>
	</div>
	<table border="0" cellpadding="5" cellspacing="5">
		<tr>
			<td ><p>{L_SV_CORP_NAME}</p></td>			
			<td>  </td>
			
		</tr>
		<!-- BEGIN ma5_gt_ma20_list -->
		<tr>	
						
			<td ><p>{ma5_gt_ma20_list.CORP_NAME}({ma5_gt_ma20_list.CORP_ID})</p></td>
			
			<td align="center" title="MA5: {ma5_gt_ma20_list.MA5} &#13;MA20: {ma5_gt_ma20_list.MA20}">
				<p>				
					<!-- IF ma5_gt_ma20_list.DIFF_PERCENT > 100 -->
						<img src="{T_IMAGES_PATH}up.png" alt="up" width=32 height=32 style="vertical-align:middle;" />	
					<!-- ELSEIF ma5_gt_ma20_list.DIFF_PERCENT > 50 -->
						<img src="{T_IMAGES_PATH}up.png" alt="up" width=24 height=24 style="vertical-align:middle;" />	
					<!-- ELSE -->
						<img src="{T_IMAGES_PATH}up.png" alt="up" width=16 height=16 style="vertical-align:middle;" />	
					<!-- ENDIF -->					
					
					<b>{ma5_gt_ma20_list.DIFF_PERCENT}%</b>
				</p>
			</td>
			
			<td title="{L_SV_RECENT_PRICE_TREND}"> <canvas id="cvs_{ma5_gt_ma20_list.CORP_ID}" width="100" height="60"> </canvas>   </td>
			
			<td title="{L_SV_ASSET_LIST_TIP_MORE_INFO}" >
				<p>								
				<a href="http://www.google.com.hk/finance?q=TPE:{ma5_gt_ma20_list.CORP_ID}" target=_blank><img src="{T_IMAGES_PATH}G.png" alt="info" width=24 height=24 class='more_info_icon' /></a>
				<a href="http://tw.stock.yahoo.com/q/q?s={ma5_gt_ma20_list.CORP_ID}" target=_blank><img src="{T_IMAGES_PATH}Y.png" alt="info" width=24 height=24 class='more_info_icon' /></a>
				</p>
			</td>	
						
			<script>
				DrawLine('cvs_{ma5_gt_ma20_list.CORP_ID}', [{ma5_gt_ma20_list.RECENT_PRICES}], {ma5_gt_ma20_list.MIN}, {ma5_gt_ma20_list.MAX});
			</script>
			
		</tr>
		<!-- END ma5_gt_ma20_list -->
	</table>
</div>


<div class="panel" style="float:left;margin-right:1em;"> 
	<div class="inner"><span class="corners-top"><span></span></span> 
	<h2>{L_SV_STOCK_GO_DOWN_RECENTLY}&nbsp(MA5 < MA 20) &nbsp <img title="{MA5_LT_MA20_NUM} {L_SV_NUM_OF_CORP}" src="{T_IMAGES_PATH}icons/smile/info.gif" alt="info" /> </h2> 
	<p>  </p>
	</div>
	<table border="0" cellpadding="5" cellspacing="5">
		<tr>
			<td align="center"><p>{L_SV_CORP_NAME}</p></td>			
			<td align="center"><p><p></td>
			
		</tr>
		<!-- BEGIN ma5_lt_ma20_list -->
		<tr>	
						
			<td align="center"><p>{ma5_lt_ma20_list.CORP_NAME}({ma5_lt_ma20_list.CORP_ID})</p></td>
			
			<td align="center" title="MA5: {ma5_lt_ma20_list.MA5} &#13;MA20: {ma5_lt_ma20_list.MA20}">
				<p>				
					<!-- IF ma5_lt_ma20_list.DIFF_PERCENT > 50 -->
						<img src="{T_IMAGES_PATH}down.png" alt="down" width=32 height=32 style="vertical-align:middle;" />	
					<!-- ELSEIF ma5_lt_ma20_list.DIFF_PERCENT > 30 -->
						<img src="{T_IMAGES_PATH}down.png" alt="down" width=24 height=24 style="vertical-align:middle;" />	
					<!-- ELSE -->
						<img src="{T_IMAGES_PATH}down.png" alt="down" width=16 height=16 style="vertical-align:middle;" />	
					<!-- ENDIF -->					
				<b>-{ma5_lt_ma20_list.DIFF_PERCENT}%</b>
				</p>
			</td>
			
			<td title="{L_SV_RECENT_PRICE_TREND}"> <canvas id="cvs_{ma5_lt_ma20_list.CORP_ID}" width="100" height="60"> </canvas>   </td>
			
			<td title="{L_SV_ASSET_LIST_TIP_MORE_INFO}" >
				<p>
				<a href="http://www.google.com.hk/finance?q=TPE:{ma5_lt_ma20_list.CORP_ID}" target=_blank><img src="{T_IMAGES_PATH}G.png" alt="info" width=24 height=24 class='more_info_icon' /></a>
				<a href="http://tw.stock.yahoo.com/q/q?s={ma5_lt_ma20_list.CORP_ID}" target=_blank><img src="{T_IMAGES_PATH}Y.png" alt="info" width=24 height=24 class='more_info_icon' /></a>
				</p>
			</td>	
		</tr>
		
		<script>
			DrawLine('cvs_{ma5_lt_ma20_list.CORP_ID}', [{ma5_lt_ma20_list.RECENT_PRICES}], {ma5_lt_ma20_list.MIN}, {ma5_lt_ma20_list.MAX});
		</script>
		<!-- END ma5_lt_ma20_list -->
	</table>
	
	
</div>





<!-- INCLUDE sv_overall_footer.html -->